﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Resources;
using System.Text;
using System.Threading.Tasks;

namespace ProgramCat.FiddlerExtension
{
    public class ResourceMgr:Singleton<ResourceMgr>
    {
        ResourceManager resourceManager = null;
        private ResourceMgr() { }
        public override void OnSingletonInit()
        {
            resourceManager = new ResourceManager("ProgramCat.FiddlerExtension.PropertiesCatControl",
               typeof(PropertiesCatControl).Assembly);
        }
        public string JsBeautify()
        {
            return resourceManager.GetString("JsBeautify");
        }
        public Bitmap PcIcon()
        {
            object @object = resourceManager.GetObject("PcIcon");
            return (Bitmap)@object;
        }
    }
}
